﻿Imports System.Data.OleDb
Public Class list
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

    End Sub

    'Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs) Handles Button1.Click
    'Dim conn As OleDbConnection = New OleDbConnection(ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString)
    'Dim sql = " INSERT INTO Comments (Author,Subject,Message,WinId) VALUES (@f1,@f2,@f3,@f4)"

    'conn.Open()
    'Dim cmd As OleDbCommand = New OleDbCommand(sql, conn)
    'cmd.CommandType = CommandType.Text
    'cmd.Parameters.AddWithValue("@f1", tb_Author.Text)
    'cmd.Parameters.AddWithValue("@f2", tb_subject.Text)
    'cmd.Parameters.AddWithValue("@f3", tb_Message.Text)
    'cmd.Parameters.AddWithValue("@f4", Request.Params("ID"))
    'cmd.ExecuteNonQuery()
    'conn.Close()
    'Response.Redirect("Default.aspx")

    'End Sub
End Class